
public class GoodsTomato extends Goods{
	//	Local variables		
	private String _name;
	private int _price;
	
	public GoodsTomato()
	{
		_name = "A Tomato";
		_price = 5;
	}
	
	public String getName() {
		return _name;
	}

	public int getPrice() {
		return _price;
	}

	public String toString() {
		return "" + _name  + " " +_price + "kr.";
	}
}
